package com.example.respository;

import com.example.domain.Bady;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 接口
 * Created by 李强 on 2017/5/6.
 */
public interface BadyRepository extends JpaRepository<Bady, Integer> {
           public List<Bady> findByAge(Integer age);

}
